/*
 * @FilePath: index.ts
 * @Author: 杜芬
 * @Date: 2024-02-06 22:57:05
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2024-02-07 16:54:45
 * Copyright: 2024 xxxTech CO.,LTD. All Rights Reserved.
 * @Descripttion: 页面
 */
import { createRouter, createWebHistory } from 'vue-router'
// 如何得到路由实例 createRouter
// 如何设置路由模式 History
// History 模式createWebHistory
// hash 模式createWebHasHistory
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      // path: '/',
      // name: 'home',
      // component: HomeView
    },
    {
      // path: '/about',
      // name: 'about',
    
      // component: () => import('../views/AboutView.vue')
    }
  ]
})

export default router
